import Home from '@/auth/pages/Home'

export default {
  path: '/account-inquiry',
  name: 'account-inquiry',
  meta: {
    icon: 'logo-chrome',
    title: '台账查询'
  },
  component: Home,
  children: [
    {
      path: 'general-identification-ledger',
      name: 'general-identification-ledger',
      meta: {
        title: '总体辨识台账',
				// notCache: true
      },
      component: () => import('@/views/ledger-query/GeneralLedger.vue')
    },
    {
      path: 'general-identification-ledger/:type/:id/:name/:flag',
      name: 'general-identification-ledger-detail',
      meta: {
        title: route => `${route.params.name}`,
				notCache: true
      },
      component: () => import('@/views/ledger-query/LedgerDetail')
    }, {
      path: 'dynamic-identification-ledger',
      name: 'dynamic-identification-ledger',
      meta: {
        title: '动态辨识台账',
				notCache: false
      },
      component: () => import('@/views/ledger-query/DynamicLledger.vue')
    }, {
      path: 'risk-identification-ledger',
      name: 'risk-identification-ledger',
      meta: {
        title: '风险销号台账',
				notCache: false
      },
      component: () => import('@/views/ledger-query/RiskLedger.vue')
    },{
      path: 'risk-ledger-detail/:type/:id/:name',
      name: 'risk-ledger-detail',
      meta: {
        title: route => `${route.params.name}`,
				notCache: true
      },
      component: () => import('@/views/ledger-query/RiskLedgerDetail')
    }, {
      path: 'measures-ledger',
      name: 'measures-ledger',
      meta: {
        title: '措施方案台账',
				notCache: false
      },
      component: () => import('@/views/ledger-query/MeasuresLedger.vue')
    }, {
      path: 'measures-ledger/:type/:id/:name',
      name: 'measures-ledger-detail',
      meta: {
        title: route => `${route.params.name}`,
				notCache: true
      },
      component: () => import('@/views/ledger-query/MeasuresLedgerDetail')
    }, {
      path: 'dynamic-control-ledger',
      name: 'dynamic-control-ledger',
      meta: {
        title: '动态管控表',
				notCache: false
      },
      component: () => import('@/views/ledger-query/DynamicLedgerList.vue')
    }, {
      path: 'dynamic-control-ledger/:type/:id/:name',
      name: 'dynamic-control-ledger-detail',
      meta: {
        title: route => `${route.params.name}`,
				notCache: true
      },
      component: () => import('@/views/ledger-query/DynamicLedgerDetail')
    }, {
      path: 'dynamic-supervision-report',
      name: 'dynamic-supervision-report',
      meta: {
        title: '督导报告',
				notCache: false
      },
      component: () => import('@/views/ledger-query/SupervisionReport.vue')
    }, {
      path: 'dynamic-supervision-report/:type/:id/:name',
      name: 'dynamic-supervision-report-detail',
      meta: {
        title: route => `${route.params.name}`,
				notCache: true
      },
      component: () => import('@/views/ledger-query/SupervisionReportDetail.vue')
    }
  ]
}
